//
//  CustomModel.m
//  Perking
//
//  Created by tim on 16/7/7.
//  Copyright © 2016年 tim. All rights reserved.
//

#import "CustomModel.h"

@implementation CustomModel
+ (instancetype)modelWithName:(NSString *)name icon:(NSString *)icon
{
    return [[self alloc] initWithName:name icon:icon];
}

- (instancetype)initWithName:(NSString *)name icon:(NSString *)icon
{
    if (self = [super init]) {
        self.name = name;
        self.icon = icon;
    }
    return self;
}
@end
